package banco;

public class BancoMain {

	public static void main(String[] args) {
		Banco b;
		b = new Banco("Rica`s Bank");
		Agencia a;
		a = new Agencia(1234, "Praia");
		//Endereco e;
						
		Conta c;
		//e = new Endereco("Rua Almirante Costa  Numero 458", "Apto 301", "Leme", "Campina Grande", "Brasil", "22456-002");
		c = new Conta("Paulo Gomes",2451,3451.34);
		a.incluiConta(c);
		//e = new Endereco("Rua Almirante Costa  Numero 458", "Apto 301", "Leme", "Campina Grande", "Brasil", "22456-002");
		c = new Conta("Souza Lima",3422,6743.91);
		a.incluiConta(c);
		//e = new Endereco("Rua Salviano Lisboa  Numero 458", "Apto 301", "Leme", "Campina Grande", "Brasil", "22456-002");
		c = new Conta("Lito Costa",7721,2811.37);
		a.incluiConta(c);
				
		System.out.println(b+""+a);
		//a.deposito(2451, 1000);
		//a.deposito(3422, 1000);
		a.deposito(7721, 1000);
		//System.out.println(b+""+a);
		
		a.removeConta("Souza Lima");
		System.out.println("\n"+b+""+a);
		
		
		
		
	}

}
